tools/libxl: Remove libxl_cpuid_{set,apply_policy}() from the API
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 8 Jan 2020 12:53:49 +0000 (12:53 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Feb 2020 18:26:52 +0000 (18:26 +0000)
commitdacb80f9757c011161cec6609f39837c9ea8caa8
tree485bc08ce6ce16690da99c676517a9a43c82c483
parent6c47c37b9b40d6fe40bce8c8fd39135f6d549c8c
tools/libxl: Remove libxl_cpuid_{set,apply_policy}() from the API

These functions should never have been exposed.  They don't have external
users, and can't usefully be used for several reasons.

Move libxl_cpuid_{set,apply_policy}() to being internal functions, and leave
an equivalent of the nop stubs in the API for caller compatibility.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_cpuid.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_nocpuid.c